<?php

use Illuminate\Database\Seeder;
use App\Models\Admin\Menu;
class AdminMenusTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $sql = "INSERT INTO `exp_admin_menus` (`id`, `pid`, `name`, `is_developer`, `menu_type`, `language`, `icon`, `slug`, `url`, `description`, `sort`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 0, '控制台', 0, 1, 'zh', 'fa fa-laptop', 'admin-systems-index', 'admin/main', NULL, 0, NULL, '2017-10-15 17:12:05', '2017-10-19 01:44:00'),
(2, 0, '系统管理', 0, 1, 'zh', '', 'admin-systems-manage', 'admin/user*, admin/role*, admin/permission*, admin/menu*', NULL, 0, NULL, '2017-10-15 17:12:05', '2017-10-16 15:56:39'),
(3, 2, '用户管理', 0, 1, 'zh', '', 'admin-users-list', 'admin/admin_user', NULL, 0, NULL, '2017-10-15 17:12:05', '2017-10-20 09:52:41'),
(4, 2, '角色管理', 0, 1, 'zh', '', 'admin-roles-list', 'admin/role', NULL, 0, NULL, '2017-10-15 17:12:05', '2017-10-20 01:14:43'),
(6, 2, '菜单管理', 1, 1, 'zh', '', 'admin-menus-list', 'admin/menu', NULL, 0, NULL, '2017-10-15 17:12:06', '2017-10-23 03:10:03'),
(7, 3, '更新用户信息', 0, 2, 'zh', NULL, 'admin-users-edit', 'admin/admin_user/edit/{id?}', NULL, 0, NULL, '2017-10-15 17:14:16', '2017-10-19 01:49:20'),
(8, 3, '删除管理员信息', 0, 2, 'zh', NULL, 'admin-users-delete', 'admin/admin_user/delete/{ids?}', NULL, 0, NULL, '2017-10-15 17:19:27', '2017-10-19 01:49:36'),
(9, 6, '更新菜单信息', 1, 2, 'zh', NULL, 'admin-menus-edit', 'admin/menu/edit/{id?}', NULL, 0, NULL, '2017-10-15 17:22:02', '2017-10-23 03:10:10'),
(10, 6, '删除菜单信息', 1, 2, 'zh', NULL, 'admin-menus-delete', 'admin/menu/delete/{ids?}', NULL, 0, NULL, '2017-10-15 17:22:32', '2017-10-23 03:10:17'),
(11, 4, '更新角色信息', 0, 2, 'zh', NULL, 'admin-roles-edit', 'admin/role/edit/{id?}', NULL, 0, NULL, '2017-10-20 01:02:44', '2017-10-20 01:02:44'),
(12, 4, '删除角色', 0, 2, 'zh', NULL, 'admin-roles-delete', 'admin/role/delete/{ids?}', NULL, 0, NULL, '2017-10-20 01:03:31', '2017-10-20 01:03:31'),
(13, 4, '绑定权限', 0, 2, 'zh', NULL, 'admin-roles-permission', 'admin/role/permission/{role_id?}', NULL, 0, NULL, '2017-10-20 01:05:29', '2017-10-20 01:05:29'),
(14, 2, '配置项管理', 1, 1, 'zh', NULL, 'admin-configs-index', 'admin/config', NULL, 0, NULL, '2017-10-28 10:41:55', '2017-10-28 10:47:31'),
(15, 14, '更新配置项', 1, 2, 'zh', NULL, 'admin-configs-edit', 'admin/config/edit', NULL, 0, NULL, '2017-10-28 10:42:52', '2017-10-28 10:48:29'),
(16, 14, '删除配置项', 1, 2, 'zh', NULL, 'admin-configs-delete', 'admin/config/delete', NULL, 0, NULL, '2017-10-28 10:48:10', '2017-10-28 10:48:10'),
(17, 2, '配置管理', 0, 1, 'zh', NULL, 'admin-configs-setting', 'admin/config/setting', NULL, 2, NULL, '2017-10-28 10:49:52', '2017-10-28 14:17:17'),
(18, 0, '门户管理', 0, 1, 'zh', NULL, 'admin-portal-index', NULL, NULL, 0, NULL, '2017-11-02 18:42:16', '2017-11-02 18:42:16'),
(19, 18, '栏目管理', 0, 1, 'zh', NULL, 'admin-portal-category-list', 'admin/portal/category', NULL, 0, NULL, '2017-11-02 18:42:51', '2017-11-02 18:42:51'),
(20, 19, '编辑栏目', 0, 2, 'zh', NULL, 'admin-portal-category-edit', 'admin/portal/category/edit/{id?}', NULL, 0, NULL, '2017-11-02 18:43:32', '2017-11-02 18:43:32'),
(21, 19, '删除栏目', 0, 2, 'zh', NULL, 'admin-portal-category-delete', 'admin/portal/category/delete/{ids?}', NULL, 0, NULL, '2017-11-02 18:44:14', '2017-11-02 18:44:14'),
(22, 18, '资讯管理', 0, 1, 'zh', NULL, 'admin-portal-news-list', 'admin/portal/news', NULL, 0, NULL, '2017-11-02 18:42:51', '2017-11-02 18:42:51'),
(23, 22, '编辑资讯', 0, 2, 'zh', NULL, 'admin-portal-news-edit', 'admin/portal/news/edit/{id?}', NULL, 0, NULL, '2017-11-02 18:43:32', '2017-11-02 18:43:32'),
(24, 22, '删除资讯', 0, 2, 'zh', NULL, 'admin-portal-news-delete', 'admin/portal/news/delete/{ids?}', NULL, 0, NULL, '2017-11-02 18:44:14', '2017-11-02 18:44:14'),
(25, 18, '图集管理', 0, 1, 'zh', NULL, 'admin-portal-photo-list', 'admin/portal/photo', NULL, 0, NULL, '2017-11-02 18:42:51', '2017-11-02 18:42:51'),
(26, 25, '编辑图集', 0, 2, 'zh', NULL, 'admin-portal-photo-edit', 'admin/portal/photo/edit/{id?}', NULL, 0, NULL, '2017-11-02 18:43:32', '2017-11-02 18:43:32'),
(27, 25, '删除图集', 0, 2, 'zh', NULL, 'admin-portal-photo-delete', 'admin/portal/photo/delete/{ids?}', NULL, 0, NULL, '2017-11-02 18:44:14', '2017-11-02 18:44:14'),
(28, 18, '公示管理', 0, 1, 'zh', NULL, 'admin-portal-publicity-list', 'admin/portal/publicity', NULL, 0, '2017-11-04 11:40:55', '2017-11-02 18:42:51', '2017-11-04 11:40:55'),
(29, 28, '编辑公示', 0, 2, 'zh', NULL, 'admin-portal-publicity-edit', 'admin/portal/publicity/edit/{id?}', NULL, 0, '2017-11-04 11:40:55', '2017-11-02 18:43:32', '2017-11-04 11:40:55'),
(30, 28, '删除公示', 0, 2, 'zh', NULL, 'admin-portal-publicity-delete', 'admin/portal/publicity/delete/{ids?}', NULL, 0, '2017-11-04 11:40:55', '2017-11-02 18:44:14', '2017-11-04 11:40:55'),
(31, 18, '更新单网页信息', 0, 2, 'zh', NULL, 'admin-portal-page-edit', 'admin/portal/page/edit/{id?}', NULL, 0, NULL, '2017-11-05 09:46:26', '2017-11-05 09:46:26'),
(32, 0, '基础信息管理', 0, 1, 'zh', NULL, 'admin-basic-index', NULL, NULL, 0, NULL, '2017-11-02 18:42:16', '2017-11-02 18:42:16'),
(33, 32, '友情链接管理', 0, 1, 'zh', NULL, 'admin-basic-link-list', 'admin/basic/link', NULL, 0, NULL, '2017-11-02 18:42:51', '2017-11-02 18:42:51'),
(34, 33, '编辑友情链接', 0, 2, 'zh', NULL, 'admin-basic-link-edit', 'admin/basic/link/edit/{id?}', NULL, 0, NULL, '2017-11-02 18:43:32', '2017-11-02 18:43:32'),
(35, 33, '删除友情链接', 0, 2, 'zh', NULL, 'admin-basic-link-delete', 'admin/basic/link/delete/{ids?}', NULL, 0, NULL, '2017-11-02 18:44:14', '2017-11-02 18:44:14'),
(36, 25, '更新图集状态', 0, 2, 'zh', NULL, 'admin-portal-photo-set-status', NULL, NULL, 0, NULL, '2017-11-08 01:25:58', '2017-11-08 01:25:58'),
(37, 22, '更新资讯状态', 0, 2, 'zh', NULL, 'admin-portal-news-set-status', NULL, NULL, 0, NULL, '2017-11-08 01:26:25', '2017-11-08 01:26:25'),
(38, 32, '广告|推荐位管理', 0, 1, 'zh', NULL, 'admin-basic-adv-list', 'admin/basic/adv', NULL, 0, NULL, '2017-11-11 10:23:50', '2017-11-26 15:20:06'),
(39, 38, '更新广告位信息', 1, 2, 'zh', NULL, 'admin-basic-adv-edit', 'admin/basic/adv/edit', NULL, 0, NULL, '2017-11-11 10:24:55', '2017-11-11 10:24:55'),
(40, 38, '删除广告位', 1, 2, 'zh', NULL, 'admin-basic-adv-delete', 'admin/basic/adv/delete', NULL, 0, NULL, '2017-11-11 10:25:35', '2017-11-11 10:25:35'),
(41, 38, '广告列表', 0, 2, 'zh', NULL, 'admin-basic-adv-data-list', 'admin/basic/adv/data', NULL, 0, NULL, '2017-11-11 10:26:11', '2017-11-11 10:38:57'),
(42, 38, '更新广告', 0, 2, 'zh', NULL, 'admin-basic-adv-data-edit', 'admin/basic/adv/data/edit', NULL, 0, NULL, '2017-11-11 10:26:55', '2017-11-11 10:26:55'),
(43, 38, '删除广告', 0, 2, 'zh', NULL, 'admin-basic-adv-data-delete', 'admin/basic/adv/data/delete', NULL, 0, NULL, '2017-11-11 10:27:23', '2017-11-11 10:27:23');";
        \Illuminate\Support\Facades\DB::select($sql);
    }
}
